{% extends "map/index.html" %}
{% block window %}
<div class="col-md-3">
    <div class="alert alert-warning" role="alert">
    <h4>船只列表包括:</h4>
    用户拥有的所有与其相关的船舶<br/>
    主要信息为船舶名，呼号，等
    </div>
</div>
<div class="col-md-9">
	<table class="table table-hover">
		<thead>
			<tr class="info">
				<th>船号</th>
				<th>协议id</th>
				<th>中文名</th>
				<th>MMSI</th>
				<th>CALL SIGN</th>
			</tr>
		</thead>
		<tbody>
		{% for ship in latest_ship_list %}
			<tr>
				<td>
					{{ ship.ship_id }}
				</td>
				<td>
					{{ ship.protocol_id }}
				</td>
				<td>
					{{ ship.name_chinese }}
				</td>
				<td>
					{{ ship.mmsi }}
				</td>
				<td>
					{{ ship.call_sign }}
				</td>
			</tr>
		{% endfor %}
		</tbody>
	</table>
	<nav>
	  <ul class="pager">
	    <li><a href="#">Previous</a></li>
	    <li><a href="#">Next</a></li>
	  </ul>
	</nav>
</div>
{% endblock %}
{% block modal_js %}
{% endblock %}